home *** CD-ROM | disk | FTP | other *** search
Unknown | 1994-07-24 | 6.4 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 d4 09 50 72 6f 63 65 | 73 73 65 73 08 43 6f 6e |...Proce|sses.Con|
|00000010| 74 65 6e 74 73 14 46 69 | 67 75 72 65 73 20 61 6e |tents.Fi|gures an|
|00000020| 64 20 4c 69 73 74 69 6e | 67 73 0f 41 62 6f 75 74 |d Listin|gs.About|
|00000030| 20 54 68 69 73 20 42 6f | 6f 6b 1b 46 6f 72 6d 61 | This Bo|ok.Forma|
|00000040| 74 20 6f 66 20 61 20 54 | 79 70 69 63 61 6c 20 43 |t of a T|ypical C|
|00000050| 68 61 70 74 65 72 1e 0d | 43 6f 6e 76 65 6e 74 69 |hapter..|Conventi|
|00000060| 6f 6e 73 20 55 73 65 64 | 20 69 6e 20 54 68 69 73 |ons Used| in This|
|00000070| 20 42 6f 6f 6b 0d 53 70 | 65 63 69 61 6c 20 46 6f | Book.Sp|ecial Fo|
|00000080| 6e 74 73 0e 54 79 70 65 | 73 20 6f 66 20 4e 6f 74 |nts.Type|s of Not|
|00000090| 65 73 1d 41 73 73 65 6d | 62 6c 79 2d 4c 61 6e 67 |es.Assem|bly-Lang|
|000000a0| 75 61 67 65 20 49 6e 66 | 6f 72 6d 61 74 69 6f 6e |uage Inf|ormation|
|000000b0| 17 44 65 76 65 6c 6f 70 | 6d 65 6e 74 20 45 6e 76 |.Develop|ment Env|
|000000c0| 69 72 6f 6e 6d 65 6e 74 | 23 49 6e 74 72 6f 64 75 |ironment|#Introdu|
|000000d0| 63 74 69 6f 6e 20 74 6f | 20 50 72 6f 63 65 73 73 |ction to| Process|
|000000e0| 65 73 20 61 6e 64 20 54 | 61 73 6b 73 28 54 68 65 |es and T|asks(The|
|000000f0| 20 43 6f 6f 70 65 72 61 | 74 69 76 65 20 4d 75 6c | Coopera|tive Mul|
|00000100| 74 69 74 61 73 6b 69 6e | 67 20 45 6e 76 69 72 6f |titaskin|g Enviro|
|00000110| 6e 6d 65 6e 74 35 46 69 | 67 75 72 65 20 31 2d 31 |nment5Fi|gure 1-1|
|00000120| 09 54 68 65 20 64 65 73 | 6b 74 6f 70 20 77 69 74 |.The des|ktop wit|
|00000130| 68 20 73 65 76 65 72 61 | 6c 20 61 70 70 6c 69 63 |h severa|l applic|
|00000140| 61 74 69 6f 6e 73 20 6f | 70 65 6e 0f 41 62 6f 75 |ations o|pen.Abou|
|00000150| 74 20 50 72 6f 63 65 73 | 73 65 73 10 50 72 6f 63 |t Proces|ses.Proc|
|00000160| 65 73 73 20 43 72 65 61 | 74 69 6f 6e 12 50 72 6f |ess Crea|tion.Pro|
|00000170| 63 65 73 73 20 53 63 68 | 65 64 75 6c 69 6e 67 0b |cess Sch|eduling.|
|00000180| 41 62 6f 75 74 20 54 61 | 73 6b 73 0d 54 61 73 6b |About Ta|sks.Task|
|00000190| 20 43 72 65 61 74 69 6f | 6e 0f 54 61 73 6b 20 53 | Creatio|n.Task S|
|000001a0| 63 68 65 64 75 6c 69 6e | 67 0f 54 61 73 6b 20 47 |chedulin|g.Task G|
|000001b0| 75 69 64 65 6c 69 6e 65 | 73 0f 50 72 6f 63 65 73 |uideline|s.Proces|
|000001c0| 73 20 4d 61 6e 61 67 65 | 72 19 41 62 6f 75 74 20 |s Manage|r.About |
|000001d0| 74 68 65 20 50 72 6f 63 | 65 73 73 20 4d 61 6e 61 |the Proc|ess Mana|
|000001e0| 67 65 72 1a 55 73 69 6e | 67 20 74 68 65 20 50 72 |ger.Usin|g the Pr|
|000001f0| 6f 63 65 73 73 20 4d 61 | 6e 61 67 65 72 20 29 47 |ocess Ma|nager )G|
|00000200| 65 74 74 69 6e 67 20 49 | 6e 66 6f 72 6d 61 74 69 |etting I|nformati|
|00000210| 6f 6e 20 41 62 6f 75 74 | 20 4f 74 68 65 72 20 50 |on About| Other P|
|00000220| 72 6f 63 65 73 73 65 73 | 2c 4c 69 73 74 69 6e 67 |rocesses|,Listing|
|00000230| 20 32 2d 31 09 53 65 61 | 72 63 68 69 6e 67 20 66 | 2-1.Sea|rching f|
|00000240| 6f 72 20 61 20 73 70 65 | 63 69 66 69 63 20 70 72 |or a spe|cific pr|
|00000250| 6f 63 65 73 73 1c 4c 61 | 75 6e 63 68 69 6e 67 20 |ocess.La|unching |
|00000260| 4f 74 68 65 72 20 41 70 | 70 6c 69 63 61 74 69 6f |Other Ap|plicatio|
|00000270| 6e 73 24 4c 69 73 74 69 | 6e 67 20 32 2d 32 09 4c |ns$Listi|ng 2-2.L|
|00000280| 61 75 6e 63 68 69 6e 67 | 20 61 6e 20 61 70 70 6c |aunching| an appl|
|00000290| 69 63 61 74 69 6f 6e 1a | 4c 61 75 6e 63 68 69 6e |ication.|Launchin|
|000002a0| 67 20 44 65 73 6b 20 41 | 63 63 65 73 73 6f 72 69 |g Desk A|ccessori|
|000002b0| 65 73 1a 54 65 72 6d 69 | 6e 61 74 69 6e 67 20 61 |es.Termi|nating a|
|000002c0| 6e 20 41 70 70 6c 69 63 | 61 74 69 6f 6e 26 4c 69 |n Applic|ation&Li|
|000002d0| 73 74 69 6e 67 20 32 2d | 33 09 54 65 72 6d 69 6e |sting 2-|3.Termin|
|000002e0| 61 74 69 6e 67 20 61 6e | 20 61 70 70 6c 69 63 61 |ating an| applica|
|000002f0| 74 69 6f 6e 19 50 72 6f | 63 65 73 73 20 4d 61 6e |tion.Pro|cess Man|
|00000300| 61 67 65 72 20 52 65 66 | 65 72 65 6e 63 65 09 43 |ager Ref|erence.C|
|00000310| 6f 6e 73 74 61 6e 74 73 | 22 47 65 73 74 61 6c 74 |onstants|"Gestalt|
|00000320| 20 53 65 6c 65 63 74 6f | 72 20 61 6e 64 20 52 65 | Selecto|r and Re|
|00000330| 73 70 6f 6e 73 65 20 42 | 69 74 73 20 50 72 6f 63 |sponse B|its Proc|
|00000340| 65 73 73 2d 49 64 65 6e | 74 69 66 69 63 61 74 69 |ess-Iden|tificati|
|00000350| 6f 6e 20 43 6f 6e 73 74 | 61 6e 74 73 0e 4c 61 75 |on Const|ants.Lau|
|00000360| 6e 63 68 20 4f 70 74 69 | 6f 6e 73 0f 44 61 74 61 |nch Opti|ons.Data|
|00000370| 20 53 74 72 75 63 74 75 | 72 65 73 15 50 72 6f 63 | Structu|res.Proc|
|00000380| 65 73 73 20 53 65 72 69 | 61 6c 20 4e 75 6d 62 65 |ess Seri|al Numbe|
|00000390| 72 1a 50 72 6f 63 65 73 | 73 20 49 6e 66 6f 72 6d |r.Proces|s Inform|
|000003a0| 61 74 69 6f 6e 20 52 65 | 63 6f 72 64 16 4c 61 75 |ation Re|cord.Lau|
|000003b0| 6e 63 68 20 50 61 72 61 | 6d 65 74 65 72 20 42 6c |nch Para|meter Bl|
|000003c0| 6f 63 6b 1d 41 70 70 6c | 69 63 61 74 69 6f 6e 20 |ock.Appl|ication |
|000003d0| 50 61 72 61 6d 65 74 65 | 72 73 20 52 65 63 6f 72 |Paramete|rs Recor|
|000003e0| 64 08 52 6f 75 74 69 6e | 65 73 1b 47 65 74 74 69 |d.Routin|es.Getti|
|000003f0| 6e 67 20 50 72 6f 63 65 | 73 73 20 49 6e 66 6f 72 |ng Proce|ss Infor|
|00000400| 6d 61 74 69 6f 6e 11 47 | 65 74 43 75 72 72 65 6e |mation.G|etCurren|
|00000410| 74 50 72 6f 63 65 73 73 | 0e 47 65 74 4e 65 78 74 |tProcess|.GetNext|
|00000420| 50 72 6f 63 65 73 73 15 | 47 65 74 50 72 6f 63 65 |Process.|GetProce|
|00000430| 73 73 49 6e 66 6f 72 6d | 61 74 69 6f 6e 0b 53 61 |ssInform|ation.Sa|
|00000440| 6d 65 50 72 6f 63 65 73 | 73 0f 47 65 74 46 72 6f |meProces|s.GetFro|
|00000450| 6e 74 50 72 6f 63 65 73 | 73 0f 53 65 74 46 72 6f |ntProces|s.SetFro|
|00000460| 6e 74 50 72 6f 63 65 73 | 73 0d 57 61 6b 65 55 70 |ntProces|s.WakeUp|
|00000470| 50 72 6f 63 65 73 73 2b | 4c 61 75 6e 63 68 69 6e |Process+|Launchin|
|00000480| 67 20 41 70 70 6c 69 63 | 61 74 69 6f 6e 73 20 61 |g Applic|ations a|
|00000490| 6e 64 20 44 65 73 6b 20 | 41 63 63 65 73 73 6f 72 |nd Desk |Accessor|
|000004a0| 69 65 73 11 4c 61 75 6e | 63 68 41 70 70 6c 69 63 |ies.Laun|chApplic|
|000004b0| 61 74 69 6f 6e 13 4c 61 | 75 6e 63 68 44 65 73 6b |ation.La|unchDesk|
|000004c0| 41 63 63 65 73 73 6f 72 | 79 15 54 65 72 6d 69 6e |Accessor|y.Termin|
|000004d0| 61 74 69 6e 67 20 50 72 | 6f 63 65 73 73 65 73 0b |ating Pr|ocesses.|
|000004e0| 45 78 69 74 54 6f 53 68 | 65 6c 6c 1f 0d 53 75 6d |ExitToSh|ell..Sum|
|000004f0| 6d 61 72 79 20 6f 66 20 | 74 68 65 20 50 72 6f 63 |mary of |the Proc|
|00000500| 65 73 73 20 4d 61 6e 61 | 67 65 72 0c 54 69 6d 65 |ess Mana|ger.Time|
|00000510| 20 4d 61 6e 61 67 65 72 | 16 41 62 6f 75 74 20 74 | Manager|.About t|
|00000520| 68 65 20 54 69 6d 65 20 | 4d 61 6e 61 67 65 72 19 |he Time |Manager.|
|00000530| 54 68 65 20 4f 72 69 67 | 69 6e 61 6c 20 54 69 6d |The Orig|inal Tim|
|00000540| 65 20 4d 61 6e 61 67 65 | 72 18 54 68 65 20 52 65 |e Manage|r.The Re|
|00000550| 76 69 73 65 64 20 54 69 | 6d 65 20 4d 61 6e 61 67 |vised Ti|me Manag|
|00000560| 65 72 19 54 68 65 20 45 | 78 74 65 6e 64 65 64 20 |er.The E|xtended |
|00000570| 54 69 6d 65 20 4d 61 6e | 61 67 65 72 51 46 69 67 |Time Man|agerQFig|
|00000580| 75 72 65 20 33 2d 31 09 | 4f 72 69 67 69 6e 61 6c |ure 3-1.|Original|
|00000590| 20 61 6e 64 20 72 65 76 | 69 73 65 64 20 54 69 6d | and rev|ised Tim|
|000005a0| 65 20 4d 61 6e 61 67 65 | 72 73 20 28 64 72 69 66 |e Manage|rs (drif|
|000005b0| 74 69 6e 67 2c 20 75 6e | 70 72 65 64 69 63 74 61 |ting, un|predicta|
|000005c0| 62 6c 65 20 66 72 65 71 | 75 65 6e 63 79 29 42 46 |ble freq|uency)BF|
|000005d0| 69 67 75 72 65 20 33 2d | 32 09 54 68 65 20 65 78 |igure 3-|2.The ex|
|000005e0| 74 65 6e 64 65 64 20 54 | 69 6d 65 20 4d 61 6e 61 |tended T|ime Mana|
|000005f0| 67 65 72 20 28 64 72 69 | 66 74 2d 66 72 65 65 2c |ger (dri|ft-free,|
|00000600| 20 66 69 78 65 64 20 66 | 72 65 71 75 65 6e 63 79 | fixed f|requency|
|00000610| 29 16 55 73 69 6e 67 20 | 74 68 65 20 54 69 6d 65 |).Using |the Time|
|00000620| 20 4d 61 6e 61 67 65 72 | 1f 49 6e 73 74 61 6c 6c | Manager|.Install|
|00000630| 69 6e 67 20 61 6e 64 20 | 41 63 74 69 76 61 74 69 |ing and |Activati|
|00000640| 6e 67 20 54 61 73 6b 73 | 39 4c 69 73 74 69 6e 67 |ng Tasks|9Listing|
|00000650| 20 33 2d 31 09 49 6e 73 | 74 61 6c 6c 69 6e 67 20 | 3-1.Ins|talling |
|00000660| 61 6e 64 20 61 63 74 69 | 76 61 74 69 6e 67 20 61 |and acti|vating a|
|00000670| 20 54 69 6d 65 20 4d 61 | 6e 61 67 65 72 20 74 61 | Time Ma|nager ta|
|00000680| 73 6b 2b 55 73 69 6e 67 | 20 41 70 70 6c 69 63 61 |sk+Using| Applica|
|00000690| 74 69 6f 6e 20 47 6c 6f | 62 61 6c 20 56 61 72 69 |tion Glo|bal Vari|
|000006a0| 61 62 6c 65 73 20 69 6e | 20 54 61 73 6b 73 54 4c |ables in| TasksTL|
|000006b0| 69 73 74 69 6e 67 20 33 | 2d 32 09 50 61 73 73 69 |isting 3|-2.Passi|
|000006c0| 6e 67 20 74 68 65 20 61 | 64 64 72 65 73 73 20 6f |ng the a|ddress o|
|000006d0| 66 20 74 68 65 20 61 70 | 70 6c 69 63 61 74 69 6f |f the ap|plicatio|
|000006e0| 6e d5 73 20 41 35 20 77 | 6f 72 6c 64 20 74 6f 20 |n.s A5 w|orld to |
|000006f0| 61 20 54 69 6d 65 20 4d | 61 6e 61 67 65 72 20 74 |a Time M|anager t|
|00000700| 61 73 6b 4d 4c 69 73 74 | 69 6e 67 20 33 2d 33 09 |askMList|ing 3-3.|
|00000710| 44 65 66 69 6e 69 6e 67 | 20 61 20 54 69 6d 65 20 |Defining| a Time |
|00000720| 4d 61 6e 61 67 65 72 20 | 74 61 73 6b 20 74 68 61 |Manager |task tha|
|00000730| 74 20 63 61 6e 20 6d 61 | 6e 69 70 75 6c 61 74 65 |t can ma|nipulate|
|00000740| 20 67 6c 6f 62 61 6c 20 | 76 61 72 69 61 62 6c 65 | global |variable|
|00000750| 73 19 50 65 72 66 6f 72 | 6d 69 6e 67 20 50 65 72 |s.Perfor|ming Per|
|00000760| 69 6f 64 69 63 20 54 61 | 73 6b 73 31 4c 69 73 74 |iodic Ta|sks1List|
|00000770| 69 6e 67 20 33 2d 34 09 | 44 65 66 69 6e 69 6e 67 |ing 3-4.|Defining|
|00000780| 20 61 20 70 65 72 69 6f | 64 69 63 20 54 69 6d 65 | a perio|dic Time|
|00000790| 20 4d 61 6e 61 67 65 72 | 20 74 61 73 6b 16 43 6f | Manager| task.Co|
|000007a0| 6d 70 75 74 69 6e 67 20 | 45 6c 61 70 73 65 64 20 |mputing |Elapsed |
|000007b0| 54 69 6d 65 55 4c 69 73 | 74 69 6e 67 20 33 2d 35 |TimeULis|ting 3-5|
|000007c0| 09 43 61 6c 63 75 6c 61 | 74 69 6e 67 20 74 68 65 |.Calcula|ting the|
|000007d0| 20 74 69 6d 65 20 72 65 | 71 75 69 72 65 64 20 74 | time re|quired t|
|000007e0| 6f 20 69 6e 73 74 61 6c | 6c 20 61 6e 64 20 61 63 |o instal|l and ac|
|000007f0| 74 69 76 61 74 65 20 61 | 20 54 69 6d 65 20 4d 61 |tivate a| Time Ma|
|00000800| 6e 61 67 65 72 20 74 61 | 73 6b 3b 4c 69 73 74 69 |nager ta|sk;Listi|
|00000810| 6e 67 20 33 2d 36 09 43 | 61 6c 63 75 6c 61 74 69 |ng 3-6.C|alculati|
|00000820| 6e 67 20 74 68 65 20 74 | 69 6d 65 20 63 6f 6e 73 |ng the t|ime cons|
|00000830| 75 6d 65 64 20 62 79 20 | 61 20 31 2d 74 69 63 6b |umed by |a 1-tick|
|00000840| 20 64 65 6c 61 79 17 0d | 54 69 6d 65 20 4d 61 6e | delay..|Time Man|
|00000850| 61 67 65 72 20 52 65 66 | 65 72 65 6e 63 65 0f 44 |ager Ref|erence.D|
|00000860| 61 74 61 20 53 74 72 75 | 63 74 75 72 65 73 15 54 |ata Stru|ctures.T|
|00000870| 69 6d 65 20 4d 61 6e 61 | 67 65 72 20 52 6f 75 74 |ime Mana|ger Rout|
|00000880| 69 6e 65 73 07 49 6e 73 | 54 69 6d 65 08 49 6e 73 |ines.Ins|Time.Ins|
|00000890| 58 54 69 6d 65 09 50 72 | 69 6d 65 54 69 6d 65 07 |XTime.Pr|imeTime.|
|000008a0| 52 6d 76 54 69 6d 65 1b | 41 70 70 6c 69 63 61 74 |RmvTime.|Applicat|
|000008b0| 69 6f 6e 2d 44 65 66 69 | 6e 65 64 20 52 6f 75 74 |ion-Defi|ned Rout|
|000008c0| 69 6e 65 12 54 69 6d 65 | 20 4d 61 6e 61 67 65 72 |ine.Time| Manager|
|000008d0| 20 54 61 73 6b 73 0a 4d | 79 54 69 6d 65 54 61 73 | Tasks.M|yTimeTas|
|000008e0| 6b 1c 0d 53 75 6d 6d 61 | 72 79 20 6f 66 20 74 68 |k..Summa|ry of th|
|000008f0| 65 20 54 69 6d 65 20 4d | 61 6e 61 67 65 72 18 56 |e Time M|anager.V|
|00000900| 65 72 74 69 63 61 6c 20 | 52 65 74 72 61 63 65 20 |ertical |Retrace |
|00000910| 4d 61 6e 61 67 65 72 23 | 0d 41 62 6f 75 74 20 74 |Manager#|.About t|
|00000920| 68 65 20 56 65 72 74 69 | 63 61 6c 20 52 65 74 72 |he Verti|cal Retr|
|00000930| 61 63 65 20 4d 61 6e 61 | 67 65 72 2b 56 42 4c 20 |ace Mana|ger+VBL |
|00000940| 54 61 73 6b 73 20 49 6e | 73 74 61 6c 6c 65 64 20 |Tasks In|stalled |
|00000950| 62 79 20 74 68 65 20 4f | 70 65 72 61 74 69 6e 67 |by the O|perating|
|00000960| 20 53 79 73 74 65 6d 12 | 54 79 70 65 73 20 6f 66 | System.|Types of|
|00000970| 20 56 42 4c 20 54 61 73 | 6b 73 13 54 68 65 20 56 | VBL Tas|ks.The V|
|00000980| 42 4c 20 54 61 73 6b 20 | 52 65 63 6f 72 64 17 56 |BL Task |Record.V|
|00000990| 65 72 74 69 63 61 6c 20 | 52 65 74 72 61 63 65 20 |ertical |Retrace |
|000009a0| 51 75 65 75 65 73 23 56 | 42 4c 20 54 61 73 6b 73 |Queues#V|BL Tasks|
|000009b0| 20 61 6e 64 20 41 70 70 | 6c 69 63 61 74 69 6f 6e | and App|lication|
|000009c0| 20 45 78 65 63 75 74 69 | 6f 6e 22 55 73 69 6e 67 | Executi|on"Using|
|000009d0| 20 74 68 65 20 56 65 72 | 74 69 63 61 6c 20 52 65 | the Ver|tical Re|
|000009e0| 74 72 61 63 65 20 4d 61 | 6e 61 67 65 72 15 49 6e |trace Ma|nager.In|
|000009f0| 73 74 61 6c 6c 69 6e 67 | 20 61 20 56 42 4c 20 54 |stalling| a VBL T|
|00000a00| 61 73 6b 40 4c 69 73 74 | 69 6e 67 20 34 2d 31 09 |ask@List|ing 4-1.|
|00000a10| 43 68 65 63 6b 69 6e 67 | 20 77 68 65 74 68 65 72 |Checking| whether|
|00000a20| 20 79 6f 75 20 63 61 6e | 20 75 73 65 20 73 6c 6f | you can| use slo|
|00000a30| 74 2d 62 61 73 65 64 20 | 56 42 4c 20 72 6f 75 74 |t-based |VBL rout|
|00000a40| 69 6e 65 73 43 4c 69 73 | 74 69 6e 67 20 34 2d 32 |inesCLis|ting 4-2|
|00000a50| 09 44 65 74 65 72 6d 69 | 6e 69 6e 67 20 74 68 65 |.Determi|ning the|
|00000a60| 20 73 6c 6f 74 20 6e 75 | 6d 62 65 72 20 6f 66 20 | slot nu|mber of |
|00000a70| 74 68 65 20 6d 61 69 6e | 20 67 72 61 70 68 69 63 |the main| graphic|
|00000a80| 73 20 64 65 76 69 63 65 | 35 4c 69 73 74 69 6e 67 |s device|5Listing|
|00000a90| 20 34 2d 33 09 49 6e 69 | 74 69 61 6c 69 7a 69 6e | 4-3.Ini|tializin|
|00000aa0| 67 20 61 6e 64 20 69 6e | 73 74 61 6c 6c 69 6e 67 |g and in|stalling|
|00000ab0| 20 61 20 74 61 73 6b 20 | 72 65 63 6f 72 64 29 41 | a task |record)A|
|00000ac0| 63 63 65 73 73 69 6e 67 | 20 61 20 54 61 73 6b 20 |ccessing| a Task |
|00000ad0| 52 65 63 6f 72 64 20 61 | 74 20 49 6e 74 65 72 72 |Record a|t Interr|
|00000ae0| 75 70 74 20 54 69 6d 65 | 49 4c 69 73 74 69 6e 67 |upt Time|IListing|
|00000af0| 20 34 2d 34 09 46 69 6e | 64 69 6e 67 20 74 68 65 | 4-4.Fin|ding the|
|00000b00| 20 61 64 64 72 65 73 73 | 20 6f 66 20 74 68 65 20 | address| of the |
|00000b10| 74 61 73 6b 20 72 65 63 | 6f 72 64 20 66 72 6f 6d |task rec|ord from|
|00000b20| 20 77 69 74 68 69 6e 20 | 61 20 56 42 4c 20 74 61 | within |a VBL ta|
|00000b30| 73 6b 3a 4c 69 73 74 69 | 6e 67 20 34 2d 35 09 52 |sk:Listi|ng 4-5.R|
|00000b40| 65 73 65 74 74 69 6e 67 | 20 61 20 56 42 4c 20 74 |esetting| a VBL t|
|00000b50| 61 73 6b 20 73 6f 20 74 | 68 61 74 20 69 74 20 65 |ask so t|hat it e|
|00000b60| 78 65 63 75 74 65 73 20 | 61 67 61 69 6e 34 41 63 |xecutes |again4Ac|
|00000b70| 63 65 73 73 69 6e 67 20 | 41 70 70 6c 69 63 61 74 |cessing |Applicat|
|00000b80| 69 6f 6e 20 47 6c 6f 62 | 61 6c 20 56 61 72 69 61 |ion Glob|al Varia|
|00000b90| 62 6c 65 73 20 69 6e 20 | 61 20 56 42 4c 20 54 61 |bles in |a VBL Ta|
|00000ba0| 73 6b 59 4c 69 73 74 69 | 6e 67 20 34 2d 36 09 53 |skYListi|ng 4-6.S|
|00000bb0| 74 6f 72 69 6e 67 20 74 | 68 65 20 76 61 6c 75 65 |toring t|he value|
|00000bc0| 20 6f 66 20 74 68 65 20 | 41 35 20 72 65 67 69 73 | of the |A5 regis|
|00000bd0| 74 65 72 20 64 69 72 65 | 63 74 6c 79 20 61 66 74 |ter dire|ctly aft|
|00000be0| 65 72 20 74 68 65 20 74 | 61 73 6b 20 72 65 63 6f |er the t|ask reco|
|00000bf0| 72 64 20 69 6e 20 6d 65 | 6d 6f 72 79 4a 4c 69 73 |rd in me|moryJLis|
|00000c00| 74 69 6e 67 20 34 2d 37 | 09 53 61 76 69 6e 67 20 |ting 4-7|.Saving |
|00000c10| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 74 68 65 |the valu|e of the|
|00000c20| 20 41 35 20 72 65 67 69 | 73 74 65 72 20 77 68 65 | A5 regi|ster whe|
|00000c30| 6e 20 69 6e 73 74 61 6c | 6c 69 6e 67 20 61 20 56 |n instal|ling a V|
|00000c40| 42 4c 20 74 61 73 6b 54 | 4c 69 73 74 69 6e 67 20 |BL taskT|Listing |
|00000c50| 34 2d 38 09 53 65 74 74 | 69 6e 67 20 75 70 20 74 |4-8.Sett|ing up t|
|00000c60| 68 65 20 41 35 20 72 65 | 67 69 73 74 65 72 20 61 |he A5 re|gister a|
|00000c70| 6e 64 20 6d 6f 64 69 66 | 79 69 6e 67 20 61 20 67 |nd modif|ying a g|
|00000c80| 6c 6f 62 61 6c 20 76 61 | 72 69 61 62 6c 65 20 69 |lobal va|riable i|
|00000c90| 6e 20 61 20 56 42 4c 20 | 74 61 73 6b 40 4c 69 73 |n a VBL |task@Lis|
|00000ca0| 74 69 6e 67 20 34 2d 39 | 09 4d 6f 64 69 66 79 69 |ting 4-9|.Modifyi|
|00000cb0| 6e 67 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 67 |ng appli|cation g|
|00000cc0| 6c 6f 62 61 6c 20 76 61 | 72 69 61 62 6c 65 73 20 |lobal va|riables |
|00000cd0| 69 6e 20 61 20 56 42 4c | 20 74 61 73 6b 43 4c 69 |in a VBL| taskCLi|
|00000ce0| 73 74 69 6e 67 20 34 2d | 31 30 09 53 65 74 74 69 |sting 4-|10.Setti|
|00000cf0| 6e 67 20 75 70 20 61 6e | 64 20 72 65 73 74 6f 72 |ng up an|d restor|
|00000d00| 69 6e 67 20 74 68 65 20 | 41 35 20 72 65 67 69 73 |ing the |A5 regis|
|00000d10| 74 65 72 20 69 6e 20 61 | 20 56 42 4c 20 74 61 73 |ter in a| VBL tas|
|00000d20| 6b 13 53 70 69 6e 6e 69 | 6e 67 20 74 68 65 20 43 |k.Spinni|ng the C|
|00000d30| 75 72 73 6f 72 31 4c 69 | 73 74 69 6e 67 20 34 2d |ursor1Li|sting 4-|
|00000d40| 31 31 09 44 65 66 69 6e | 69 6e 67 20 61 20 63 75 |11.Defin|ing a cu|
|00000d50| 72 73 6f 72 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |rsor inf|ormation|
|00000d60| 20 72 65 63 6f 72 64 32 | 4c 69 73 74 69 6e 67 20 | record2|Listing |
|00000d70| 34 2d 31 32 09 43 68 61 | 6e 67 69 6e 67 20 74 68 |4-12.Cha|nging th|
|00000d80| 65 20 63 75 72 73 6f 72 | 20 77 69 74 68 69 6e 20 |e cursor| within |
|00000d90| 61 20 56 42 4c 20 74 61 | 73 6b 4e 4c 69 73 74 69 |a VBL ta|skNListi|
|00000da0| 6e 67 20 34 2d 31 33 09 | 49 6e 73 74 61 6c 6c 69 |ng 4-13.|Installi|
|00000db0| 6e 67 20 74 68 65 20 63 | 75 72 73 6f 72 2d 73 70 |ng the c|ursor-sp|
|00000dc0| 69 6e 6e 69 6e 67 20 74 | 61 73 6b 20 69 6e 74 6f |inning t|ask into|
|00000dd0| 20 61 20 76 65 72 74 69 | 63 61 6c 20 72 65 74 72 | a verti|cal retr|
|00000de0| 61 63 65 20 71 75 65 75 | 65 4e 4c 69 73 74 69 6e |ace queu|eNListin|
|00000df0| 67 20 34 2d 31 34 09 52 | 65 6d 6f 76 69 6e 67 20 |g 4-14.R|emoving |
|00000e00| 74 68 65 20 63 75 72 73 | 6f 72 2d 73 70 69 6e 6e |the curs|or-spinn|
|00000e10| 69 6e 67 20 74 61 73 6b | 20 66 72 6f 6d 20 69 74 |ing task| from it|
|00000e20| 73 20 76 65 72 74 69 63 | 61 6c 20 72 65 74 72 61 |s vertic|al retra|
|00000e30| 63 65 20 71 75 65 75 65 | 20 49 6e 73 74 61 6c 6c |ce queue| Install|
|00000e40| 69 6e 67 20 61 20 50 65 | 72 73 69 73 74 65 6e 74 |ing a Pe|rsistent|
|00000e50| 20 56 42 4c 20 54 61 73 | 6b 2d 4c 69 73 74 69 6e | VBL Tas|k-Listin|
|00000e60| 67 20 34 2d 31 35 09 49 | 6e 73 74 61 6c 6c 69 6e |g 4-15.I|nstallin|
|00000e70| 67 20 61 20 70 65 72 73 | 69 73 74 65 6e 74 20 56 |g a pers|istent V|
|00000e80| 42 4c 20 74 61 73 6b 23 | 0d 56 65 72 74 69 63 61 |BL task#|.Vertica|
|00000e90| 6c 20 52 65 74 72 61 63 | 65 20 4d 61 6e 61 67 65 |l Retrac|e Manage|
|00000ea0| 72 20 52 65 66 65 72 65 | 6e 63 65 0e 44 61 74 61 |r Refere|nce.Data|
|00000eb0| 20 53 74 72 75 63 74 75 | 72 65 13 54 68 65 20 56 | Structu|re.The V|
|00000ec0| 42 4c 20 54 61 73 6b 20 | 52 65 63 6f 72 64 21 56 |BL Task |Record!V|
|00000ed0| 65 72 74 69 63 61 6c 20 | 52 65 74 72 61 63 65 20 |ertical |Retrace |
|00000ee0| 4d 61 6e 61 67 65 72 20 | 52 6f 75 74 69 6e 65 73 |Manager |Routines|
|00000ef0| 2c 53 6c 6f 74 2d 42 61 | 73 65 64 20 49 6e 73 74 |,Slot-Ba|sed Inst|
|00000f00| 61 6c 6c 61 74 69 6f 6e | 20 61 6e 64 20 52 65 6d |allation| and Rem|
|00000f10| 6f 76 61 6c 20 52 6f 75 | 74 69 6e 65 73 0c 53 6c |oval Rou|tines.Sl|
|00000f20| 6f 74 56 49 6e 73 74 61 | 6c 6c 0b 53 6c 6f 74 56 |otVInsta|ll.SlotV|
|00000f30| 52 65 6d 6f 76 65 2e 53 | 79 73 74 65 6d 2d 42 61 |Remove.S|ystem-Ba|
|00000f40| 73 65 64 20 49 6e 73 74 | 61 6c 6c 61 74 69 6f 6e |sed Inst|allation|
|00000f50| 20 61 6e 64 20 52 65 6d | 6f 76 61 6c 20 52 6f 75 | and Rem|oval Rou|
|00000f60| 74 69 6e 65 73 08 56 49 | 6e 73 74 61 6c 6c 07 56 |tines.VI|nstall.V|
|00000f70| 52 65 6d 6f 76 65 10 55 | 74 69 6c 69 74 79 20 52 |Remove.U|tility R|
|00000f80| 6f 75 74 69 6e 65 73 09 | 41 74 74 61 63 68 56 42 |outines.|AttachVB|
|00000f90| 4c 09 44 6f 56 42 4c 54 | 61 73 6b 0a 47 65 74 56 |L.DoVBLT|ask.GetV|
|00000fa0| 42 4c 51 48 64 72 1b 41 | 70 70 6c 69 63 61 74 69 |BLQHdr.A|pplicati|
|00000fb0| 6f 6e 2d 44 65 66 69 6e | 65 64 20 52 6f 75 74 69 |on-Defin|ed Routi|
|00000fc0| 6e 65 09 56 42 4c 20 54 | 61 73 6b 73 09 4d 79 56 |ne.VBL T|asks.MyV|
|00000fd0| 42 4c 54 61 73 6b 28 0d | 53 75 6d 6d 61 72 79 20 |BLTask(.|Summary |
|00000fe0| 6f 66 20 74 68 65 20 56 | 65 72 74 69 63 61 6c 20 |of the V|ertical |
|00000ff0| 52 65 74 72 61 63 65 20 | 4d 61 6e 61 67 65 72 14 |Retrace |Manager.|
|00001000| 4e 6f 74 69 66 69 63 61 | 74 69 6f 6e 20 4d 61 6e |Notifica|tion Man|
|00001010| 61 67 65 72 1e 41 62 6f | 75 74 20 74 68 65 20 4e |ager.Abo|ut the N|
|00001020| 6f 74 69 66 69 63 61 74 | 69 6f 6e 20 4d 61 6e 61 |otificat|ion Mana|
|00001030| 67 65 72 31 46 69 67 75 | 72 65 20 35 2d 31 09 41 |ger1Figu|re 5-1.A|
|00001040| 20 6e 6f 74 69 66 69 63 | 61 74 69 6f 6e 20 69 6e | notific|ation in|
|00001050| 20 74 68 65 20 41 70 70 | 6c 69 63 61 74 69 6f 6e | the App|lication|
|00001060| 20 6d 65 6e 75 23 46 69 | 67 75 72 65 20 35 2d 32 | menu#Fi|gure 5-2|
|00001070| 09 41 20 6e 6f 74 69 66 | 69 63 61 74 69 6f 6e 20 |.A notif|ication |
|00001080| 61 6c 65 72 74 20 62 6f | 78 1e 55 73 69 6e 67 20 |alert bo|x.Using |
|00001090| 74 68 65 20 4e 6f 74 69 | 66 69 63 61 74 69 6f 6e |the Noti|fication|
|000010a0| 20 4d 61 6e 61 67 65 72 | 1f 43 72 65 61 74 69 6e | Manager|.Creatin|
|000010b0| 67 20 61 20 4e 6f 74 69 | 66 69 63 61 74 69 6f 6e |g a Noti|fication|
|000010c0| 20 52 65 71 75 65 73 74 | 2c 4c 69 73 74 69 6e 67 | Request|,Listing|
|000010d0| 20 35 2d 31 09 53 65 74 | 74 69 6e 67 20 75 70 20 | 5-1.Set|ting up |
|000010e0| 61 20 6e 6f 74 69 66 69 | 63 61 74 69 6f 6e 20 72 |a notifi|cation r|
|000010f0| 65 63 6f 72 64 1d 44 65 | 66 69 6e 69 6e 67 20 61 |ecord.De|fining a|
|00001100| 20 52 65 73 70 6f 6e 73 | 65 20 50 72 6f 63 65 64 | Respons|e Proced|
|00001110| 75 72 65 21 49 6e 73 74 | 61 6c 6c 69 6e 67 20 61 |ure!Inst|alling a|
|00001120| 20 4e 6f 74 69 66 69 63 | 61 74 69 6f 6e 20 52 65 | Notific|ation Re|
|00001130| 71 75 65 73 74 1f 52 65 | 6d 6f 76 69 6e 67 20 61 |quest.Re|moving a|
|00001140| 20 4e 6f 74 69 66 69 63 | 61 74 69 6f 6e 20 52 65 | Notific|ation Re|
|00001150| 71 75 65 73 74 1e 4e 6f | 74 69 66 69 63 61 74 69 |quest.No|tificati|
|00001160| 6f 6e 20 4d 61 6e 61 67 | 65 72 20 52 65 66 65 72 |on Manag|er Refer|
|00001170| 65 6e 63 65 1d 4e 6f 74 | 69 66 69 63 61 74 69 6f |ence.Not|ificatio|
|00001180| 6e 20 4d 61 6e 61 67 65 | 72 20 52 6f 75 74 69 6e |n Manage|r Routin|
|00001190| 65 73 09 4e 4d 49 6e 73 | 74 61 6c 6c 08 4e 4d 52 |es.NMIns|tall.NMR|
|000011a0| 65 6d 6f 76 65 1b 41 70 | 70 6c 69 63 61 74 69 6f |emove.Ap|plicatio|
|000011b0| 6e 2d 44 65 66 69 6e 65 | 64 20 52 6f 75 74 69 6e |n-Define|d Routin|
|000011c0| 65 20 4e 6f 74 69 66 69 | 63 61 74 69 6f 6e 20 52 |e Notifi|cation R|
|000011d0| 65 73 70 6f 6e 73 65 20 | 50 72 6f 63 65 64 75 72 |esponse |Procedur|
|000011e0| 65 73 0a 4d 79 52 65 73 | 70 6f 6e 73 65 24 0d 53 |es.MyRes|ponse$.S|
|000011f0| 75 6d 6d 61 72 79 20 6f | 66 20 74 68 65 20 4e 6f |ummary o|f the No|
|00001200| 74 69 66 69 63 61 74 69 | 6f 6e 20 4d 61 6e 61 67 |tificati|on Manag|
|00001210| 65 72 15 44 65 66 65 72 | 72 65 64 20 54 61 73 6b |er.Defer|red Task|
|00001220| 20 4d 61 6e 61 67 65 72 | 1f 41 62 6f 75 74 20 74 | Manager|.About t|
|00001230| 68 65 20 44 65 66 65 72 | 72 65 64 20 54 61 73 6b |he Defer|red Task|
|00001240| 20 4d 61 6e 61 67 65 72 | 1f 55 73 69 6e 67 20 74 | Manager|.Using t|
|00001250| 68 65 20 44 65 66 65 72 | 72 65 64 20 54 61 73 6b |he Defer|red Task|
|00001260| 20 4d 61 6e 61 67 65 72 | 26 43 68 65 63 6b 69 6e | Manager|&Checkin|
|00001270| 67 20 66 6f 72 20 74 68 | 65 20 44 65 66 65 72 72 |g for th|e Deferr|
|00001280| 65 64 20 54 61 73 6b 20 | 4d 61 6e 61 67 65 72 46 |ed Task |ManagerF|
|00001290| 4c 69 73 74 69 6e 67 20 | 36 2d 31 09 43 68 65 63 |Listing |6-1.Chec|
|000012a0| 6b 69 6e 67 20 66 6f 72 | 20 74 68 65 20 61 76 61 |king for| the ava|
|000012b0| 69 6c 61 62 69 6c 69 74 | 79 20 6f 66 20 74 68 65 |ilabilit|y of the|
|000012c0| 20 44 65 66 65 72 72 65 | 64 20 54 61 73 6b 20 4d | Deferre|d Task M|
|000012d0| 61 6e 61 67 65 72 1a 49 | 6e 73 74 61 6c 6c 69 6e |anager.I|nstallin|
|000012e0| 67 20 61 20 44 65 66 65 | 72 72 65 64 20 54 61 73 |g a Defe|rred Tas|
|000012f0| 6b 3a 4c 69 73 74 69 6e | 67 20 36 2d 32 09 49 6e |k:Listin|g 6-2.In|
|00001300| 73 74 61 6c 6c 69 6e 67 | 20 61 20 74 61 73 6b 20 |stalling| a task |
|00001310| 69 6e 74 6f 20 74 68 65 | 20 64 65 66 65 72 72 65 |into the| deferre|
|00001320| 64 20 74 61 73 6b 20 71 | 75 65 75 65 18 44 65 66 |d task q|ueue.Def|
|00001330| 69 6e 69 6e 67 20 61 20 | 44 65 66 65 72 72 65 64 |ining a |Deferred|
|00001340| 20 54 61 73 6b 30 4c 69 | 73 74 69 6e 67 20 36 2d | Task0Li|sting 6-|
|00001350| 33 09 46 69 6e 64 69 6e | 67 20 74 68 65 20 76 61 |3.Findin|g the va|
|00001360| 6c 75 65 20 6f 66 20 74 | 68 65 20 41 31 20 72 65 |lue of t|he A1 re|
|00001370| 67 69 73 74 65 72 24 4c | 69 73 74 69 6e 67 20 36 |gister$L|isting 6|
|00001380| 2d 34 09 44 65 66 69 6e | 69 6e 67 20 61 20 64 65 |-4.Defin|ing a de|
|00001390| 66 65 72 72 65 64 20 74 | 61 73 6b 1f 44 65 66 65 |ferred t|ask.Defe|
|000013a0| 72 72 69 6e 67 20 61 20 | 53 6c 6f 74 2d 42 61 73 |rring a |Slot-Bas|
|000013b0| 65 64 20 56 42 4c 20 54 | 61 73 6b 3a 4c 69 73 74 |ed VBL T|ask:List|
|000013c0| 69 6e 67 20 36 2d 35 09 | 44 65 66 65 72 72 69 6e |ing 6-5.|Deferrin|
|000013d0| 67 20 63 75 72 73 6f 72 | 20 75 70 64 61 74 69 6e |g cursor| updatin|
|000013e0| 67 20 74 6f 20 6e 6f 6e | 69 6e 74 65 72 72 75 70 |g to non|interrup|
|000013f0| 74 20 74 69 6d 65 1f 44 | 65 66 65 72 72 65 64 20 |t time.D|eferred |
|00001400| 54 61 73 6b 20 4d 61 6e | 61 67 65 72 20 52 65 66 |Task Man|ager Ref|
|00001410| 65 72 65 6e 63 65 0e 44 | 61 74 61 20 53 74 72 75 |erence.D|ata Stru|
|00001420| 63 74 75 72 65 1d 44 65 | 66 65 72 72 65 64 20 54 |cture.De|ferred T|
|00001430| 61 73 6b 20 4d 61 6e 61 | 67 65 72 20 52 6f 75 74 |ask Mana|ger Rout|
|00001440| 69 6e 65 09 44 54 49 6e | 73 74 61 6c 6c 1b 41 70 |ine.DTIn|stall.Ap|
|00001450| 70 6c 69 63 61 74 69 6f | 6e 2d 44 65 66 69 6e 65 |plicatio|n-Define|
|00001460| 64 20 52 6f 75 74 69 6e | 65 0e 44 65 66 65 72 72 |d Routin|e.Deferr|
|00001470| 65 64 20 54 61 73 6b 73 | 0e 4d 79 44 65 66 65 72 |ed Tasks|.MyDefer|
|00001480| 72 65 64 54 61 73 6b 25 | 0d 53 75 6d 6d 61 72 79 |redTask%|.Summary|
|00001490| 20 6f 66 20 74 68 65 20 | 44 65 66 65 72 72 65 64 | of the |Deferred|
|000014a0| 20 54 61 73 6b 20 4d 61 | 6e 61 67 65 72 0f 53 65 | Task Ma|nager.Se|
|000014b0| 67 6d 65 6e 74 20 4d 61 | 6e 61 67 65 72 19 41 62 |gment Ma|nager.Ab|
|000014c0| 6f 75 74 20 74 68 65 20 | 53 65 67 6d 65 6e 74 20 |out the |Segment |
|000014d0| 4d 61 6e 61 67 65 72 11 | 43 6f 64 65 20 53 65 67 |Manager.|Code Seg|
|000014e0| 6d 65 6e 74 61 74 69 6f | 6e 0e 54 68 65 20 4a 75 |mentatio|n.The Ju|
|000014f0| 6d 70 20 54 61 62 6c 65 | 29 46 69 67 75 72 65 20 |mp Table|)Figure |
|00001500| 37 2d 31 09 54 68 65 20 | 6c 6f 63 61 74 69 6f 6e |7-1.The |location|
|00001510| 20 6f 66 20 74 68 65 20 | 6a 75 6d 70 20 74 61 62 | of the |jump tab|
|00001520| 6c 65 25 46 69 67 75 72 | 65 20 37 2d 32 09 54 68 |le%Figur|e 7-2.Th|
|00001530| 65 20 73 74 72 75 63 74 | 75 72 65 20 6f 66 20 73 |e struct|ure of s|
|00001540| 65 67 6d 65 6e 74 20 30 | 49 46 69 67 75 72 65 20 |egment 0|IFigure |
|00001550| 37 2d 33 09 46 6f 72 6d | 61 74 20 6f 66 20 61 6e |7-3.Form|at of an|
|00001560| 20 4d 50 57 20 6a 75 6d | 70 20 74 61 62 6c 65 20 | MPW jum|p table |
|00001570| 65 6e 74 72 79 20 77 68 | 65 6e 20 74 68 65 20 73 |entry wh|en the s|
|00001580| 65 67 6d 65 6e 74 20 69 | 73 20 75 6e 6c 6f 61 64 |egment i|s unload|
|00001590| 65 64 47 46 69 67 75 72 | 65 20 37 2d 34 09 46 6f |edGFigur|e 7-4.Fo|
|000015a0| 72 6d 61 74 20 6f 66 20 | 61 6e 20 4d 50 57 20 6a |rmat of |an MPW j|
|000015b0| 75 6d 70 20 74 61 62 6c | 65 20 65 6e 74 72 79 20 |ump tabl|e entry |
|000015c0| 77 68 65 6e 20 74 68 65 | 20 73 65 67 6d 65 6e 74 |when the| segment|
|000015d0| 20 69 73 20 6c 6f 61 64 | 65 64 19 55 73 69 6e 67 | is load|ed.Using|
|000015e0| 20 74 68 65 20 53 65 67 | 6d 65 6e 74 20 4d 61 6e | the Seg|ment Man|
|000015f0| 61 67 65 72 17 55 6e 6c | 6f 61 64 69 6e 67 20 43 |ager.Unl|oading C|
|00001600| 6f 64 65 20 53 65 67 6d | 65 6e 74 73 15 4c 6f 61 |ode Segm|ents.Loa|
|00001610| 64 69 6e 67 20 43 6f 64 | 65 20 53 65 67 6d 65 6e |ding Cod|e Segmen|
|00001620| 74 73 1a 0d 53 65 67 6d | 65 6e 74 20 4d 61 6e 61 |ts..Segm|ent Mana|
|00001630| 67 65 72 20 52 65 66 65 | 72 65 6e 63 65 07 52 6f |ger Refe|rence.Ro|
|00001640| 75 74 69 6e 65 09 55 6e | 6c 6f 61 64 53 65 67 1f |utine.Un|loadSeg.|
|00001650| 0d 53 75 6d 6d 61 72 79 | 20 6f 66 20 74 68 65 20 |.Summary| of the |
|00001660| 53 65 67 6d 65 6e 74 20 | 4d 61 6e 61 67 65 72 10 |Segment |Manager.|
|00001670| 53 68 75 74 64 6f 77 6e | 20 4d 61 6e 61 67 65 72 |Shutdown| Manager|
|00001680| 1a 41 62 6f 75 74 20 74 | 68 65 20 53 68 75 74 64 |.About t|he Shutd|
|00001690| 6f 77 6e 20 4d 61 6e 61 | 67 65 72 14 54 68 65 20 |own Mana|ger.The |
|000016a0| 53 68 75 74 64 6f 77 6e | 20 50 72 6f 63 65 73 73 |Shutdown| Process|
|000016b0| 19 43 6c 6f 73 69 6e 67 | 20 4f 70 65 6e 20 41 70 |.Closing| Open Ap|
|000016c0| 70 6c 69 63 61 74 69 6f | 6e 73 28 43 68 65 63 6b |plicatio|ns(Check|
|000016d0| 69 6e 67 20 66 6f 72 20 | 43 75 73 74 6f 6d 20 53 |ing for |Custom S|
|000016e0| 68 75 74 64 6f 77 6e 20 | 50 72 6f 63 65 64 75 72 |hutdown |Procedur|
|000016f0| 65 73 20 20 43 68 65 63 | 6b 69 6e 67 20 66 6f 72 |es Chec|king for|
|00001700| 20 4f 70 65 6e 20 44 65 | 76 69 63 65 20 44 72 69 | Open De|vice Dri|
|00001710| 76 65 72 73 15 53 61 76 | 69 6e 67 20 74 68 65 20 |vers.Sav|ing the |
|00001720| 44 65 73 6b 20 53 63 72 | 61 70 12 55 6e 6d 6f 75 |Desk Scr|ap.Unmou|
|00001730| 6e 74 69 6e 67 20 56 6f | 6c 75 6d 65 73 18 54 75 |nting Vo|lumes.Tu|
|00001740| 72 6e 69 6e 67 20 4f 66 | 66 20 74 68 65 20 43 6f |rning Of|f the Co|
|00001750| 6d 70 75 74 65 72 1f 46 | 69 67 75 72 65 20 38 2d |mputer.F|igure 8-|
|00001760| 31 09 41 20 73 68 75 74 | 64 6f 77 6e 20 61 6c 65 |1.A shut|down ale|
|00001770| 72 74 20 62 6f 78 1a 55 | 73 69 6e 67 20 74 68 65 |rt box.U|sing the|
|00001780| 20 53 68 75 74 64 6f 77 | 6e 20 4d 61 6e 61 67 65 | Shutdow|n Manage|
|00001790| 72 23 53 65 6e 64 69 6e | 67 20 61 20 53 68 75 74 |r#Sendin|g a Shut|
|000017a0| 64 6f 77 6e 20 6f 72 20 | 52 65 73 74 61 72 74 20 |down or |Restart |
|000017b0| 45 76 65 6e 74 24 4c 69 | 73 74 69 6e 67 20 38 2d |Event$Li|sting 8-|
|000017c0| 31 09 53 65 6e 64 69 6e | 67 20 61 20 53 68 75 74 |1.Sendin|g a Shut|
|000017d0| 64 6f 77 6e 20 65 76 65 | 6e 74 26 49 6e 73 74 61 |down eve|nt&Insta|
|000017e0| 6c 6c 69 6e 67 20 61 20 | 43 75 73 74 6f 6d 20 53 |lling a |Custom S|
|000017f0| 68 75 74 64 6f 77 6e 20 | 50 72 6f 63 65 64 75 72 |hutdown |Procedur|
|00001800| 65 2e 4c 69 73 74 69 6e | 67 20 38 2d 32 09 41 20 |e.Listin|g 8-2.A |
|00001810| 73 61 6d 70 6c 65 20 63 | 75 73 74 6f 6d 20 73 68 |sample c|ustom sh|
|00001820| 75 74 64 6f 77 6e 20 70 | 72 6f 63 65 64 75 72 65 |utdown p|rocedure|
|00001830| 1a 53 68 75 74 64 6f 77 | 6e 20 4d 61 6e 61 67 65 |.Shutdow|n Manage|
|00001840| 72 20 52 65 66 65 72 65 | 6e 63 65 19 53 68 75 74 |r Refere|nce.Shut|
|00001850| 64 6f 77 6e 20 4d 61 6e | 61 67 65 72 20 52 6f 75 |down Man|ager Rou|
|00001860| 74 69 6e 65 73 30 53 68 | 75 74 74 69 6e 67 20 44 |tines0Sh|utting D|
|00001870| 6f 77 6e 20 6f 72 20 52 | 65 73 74 61 72 74 69 6e |own or R|estartin|
|00001880| 67 20 61 20 4d 61 63 69 | 6e 74 6f 73 68 20 43 6f |g a Maci|ntosh Co|
|00001890| 6d 70 75 74 65 72 0c 53 | 68 75 74 44 77 6e 50 6f |mputer.S|hutDwnPo|
|000018a0| 77 65 72 0c 53 68 75 74 | 44 77 6e 53 74 61 72 74 |wer.Shut|DwnStart|
|000018b0| 2b 49 6e 73 74 61 6c 6c | 69 6e 67 20 6f 72 20 52 |+Install|ing or R|
|000018c0| 65 6d 6f 76 69 6e 67 20 | 61 20 53 68 75 74 64 6f |emoving |a Shutdo|
|000018d0| 77 6e 20 50 72 6f 63 65 | 64 75 72 65 0e 53 68 75 |wn Proce|dure.Shu|
|000018e0| 74 44 77 6e 49 6e 73 74 | 61 6c 6c 0d 53 68 75 74 |tDwnInst|all.Shut|
|000018f0| 44 77 6e 52 65 6d 6f 76 | 65 1b 41 70 70 6c 69 63 |DwnRemov|e.Applic|
|00001900| 61 74 69 6f 6e 2d 44 65 | 66 69 6e 65 64 20 52 6f |ation-De|fined Ro|
|00001910| 75 74 69 6e 65 13 53 68 | 75 74 64 6f 77 6e 20 50 |utine.Sh|utdown P|
|00001920| 72 6f 63 65 64 75 72 65 | 73 0e 4d 79 53 68 75 74 |rocedure|s.MyShut|
|00001930| 44 6f 77 6e 50 72 6f 63 | 20 0d 53 75 6d 6d 61 72 |DownProc| .Summar|
|00001940| 79 20 6f 66 20 74 68 65 | 20 53 68 75 74 64 6f 77 |y of the| Shutdow|
|00001950| 6e 20 4d 61 6e 61 67 65 | 72 08 47 6c 6f 73 73 61 |n Manage|r.Glossa|
|00001960| 72 79 05 49 6e 64 65 78 | |ry.Index| |
+--------+-------------------------+-------------------------+--------+--------+